-
Home
-
Gifty for WooCommerce
-
1.1.0
-
Code
-
Classes
- WC_Integration_Gifty
Total Complexity |
60 |
Dependencies |
7 |
Dependents |
1 |
Total lines |
541 |
Lines of code |
306 |
Logical lines of code |
153 |
Comment lines |
137 |
Methods |
17 |
Properties |
2 |
Methods 17
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
capture_gift_card() |
A |
43 |
8 |
52 |
release_gift_card() |
A |
45 |
7 |
45 |
is_gifty_gift_card() |
S |
56 |
7 |
19 |
redeem_gift_card_log() |
S |
48 |
5 |
35 |
redeem_gift_card() |
S |
50 |
5 |
29 |
retrieve_gift_card() |
S |
56 |
5 |
19 |
log_transaction() |
S |
59 |
5 |
15 |
redeem_gift_card_admin() |
S |
57 |
4 |
18 |
get_gift_card() |
S |
58 |
4 |
17 |
__construct() |
S |
55 |
1 |
18 |
filter_gift_card_code() |
S |
71 |
2 |
6 |
validate_gifty_api_key_field() |
S |
66 |
2 |
8 |
init_form_fields() |
S |
62 |
1 |
13 |
get_api_key() |
S |
80 |
1 |
3 |
get_coupon_discount_in_cents() |
S |
77 |
1 |
3 |
cents_to_float() |
S |
80 |
1 |
3 |
cents_to_human() |
S |
80 |
1 |
3 |